﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test2
{
    class Program
    {
        static void Main(string[] args)
        {
            SumUtils sum = new SumUtils();
            Console.WriteLine("两个整数相加："+sum.Sum(7,8));
            Console.WriteLine("两个小数相加："+sum.Sum(2.4,6.5));
            Console.WriteLine("两个字符串相加:"+sum.Sum("a","c"));
            Console.WriteLine("从1到指定整数："+sum.Sum(5));
            Console.WriteLine();
            Area area = new Area();
            Console.WriteLine("长方形的面积："+area.Area1(4,5));
            Console.WriteLine("圆的面积:"+area.Area1(4));
        }
    }
}
